INCLUDEDIR=..
OBJECTS=SizesMain.o $(INCLUDEDIR)/System.o
CCFLAGS += -I$(INCLUDEDIR)

sizes : $(OBJECTS)
	g++ -o sizes $(OBJECTS)
SizesMain.o : SizesMain.cc $(INCLUDEDIR)/System.h
	g++ $(CCFLAGS) -c SizesMain.cc
$(INCLUDEDIR)/System.o : $(INCLUDEDIR)/System.cc $(INCLUDEDIR)/System.h
	g++ $(CCFLAGS) -c $(INCLUDEDIR)/System.cc -o $(INCLUDEDIR)/System.o
